<?php
namespace App\Common\Cla\Com\Token;

use App\Common as com;

class Session extends TokenBase {
	use TraitKeyDbOperate;

	/**
	 * 获取Token->Session缓存键对象
	 * @return com\Lib\Cache\KeyDB
	 */
	public function keyDbObj(  ) {
		if( $this->_keyDbObj === null ){
			$this->_keyDbObj = com\Lib\Cache\KeyDB::use( 'reb.open.v1.api.token.session' )->param( $this->tokenObj->data()->getDataId() );
		}
		return $this->_keyDbObj;
	}

}
